﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.InventoryAllocate
{
    /// <summary>
    /// 库存调度明细表
    /// </summary>
    [SugarTable("InventoryDetail")]
    public class InventoryDetail
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int InventoryDetailId { get; set; }
        /// <summary>
        /// 调拨编码
        /// </summary>
        public string? AllocateNumber { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? SpecificationModel { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? Unit { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public int AllocateCount { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int InventoryCount { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string? Summary { get; set; }

    }
}
